
#ifndef _TW_PICK_H_
#define _TW_PICK_H_
#pragma once

#include "../../TwMath/twmath.h"

class TwPick
{
public:
	TwPick(){};
	~TwPick(){};

	bool  IsIntersect(const TwRect3d& twRec3d);
	

private:
	D3DXMATRIX m_matProjection, m_matView, m_matWorld, m_matInverse;
	D3DXVECTOR3 m_origin, m_direction;
	POINT m_MousePos;    
};
#endif
